package
{
	import com.platinadesign.axa.Facade;
	
	import flash.display.Sprite;
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.system.Security;
	
	import flashx.textLayout.formats.BackgroundColor;

	[SWF( widthPercent="100%", heightPercent="100%" )]
	public class main extends Sprite
	{
		//private static const CONFIGURE_URL : String = 'asset/configure.xml';
		private static const CONFIGURE_URL : String = 'asset/AXA.xml';
		public var temporaryContainer:Sprite;

		public function main()
		{
			this.addChild(temporaryContainer = new Sprite()).visible = false;
			this.stage.scaleMode = StageScaleMode.NO_SCALE;
			this.stage.align = StageAlign.TOP_LEFT;
			
			const facade : Facade = new Facade( this );
			facade.initSystem( CONFIGURE_URL );
			
			Security.allowInsecureDomain("*");
		}
	}
}